package com.woniuxy.food.client.foodpropclient;

import com.woniuxy.food.client.param.InsertFoodPropParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;
import result.Result;

@FeignClient(contextId = "foodPropManageClient",name = "food")
public interface FoodPropManageClient {
    @PostMapping("/insertFoodProp")
    public Result insertFoodProp(@RequestBody InsertFoodPropParam param);

    @DeleteMapping("/deleteFoodProp")
    public Result deleteFoodProp(@RequestParam("storeId") Integer storeId,@RequestParam("foodPropId") Integer foodPropId);
}
